package com.kotle.mvvmdesign.net;

import com.kotle.baselib.retfofit.NetRequestCall;
import com.kotle.baselib.retfofit.NetUtil;

import static com.kotle.mvvmdesign.net.NetApi.BASE_URL;

/**
 * Created by Kotle on 2017/10/30.
 */

public class NetHelper {
    private NetHelper() {
    }

    public static <T> void sendRequest(NetRequestCall<T, NetApi> netRequestCall) {
        NetUtil.sendNetRequest(null, BASE_URL, NetApi.class, netRequestCall);
    }
}
